package zz;

import java.io.*;

public class CacheStream {
    public static void main(String[] args) throws IOException {
        /*FileOutputStream fos = new FileOutputStream("c.txt");
        BufferedOutputStream bos = new BufferedOutputStream(fos);
        bos.write("我真是的牛的".getBytes());
        bos.close();*/
        FileReader fis = new FileReader("c.txt");
        BufferedReader bis = new BufferedReader(fis);
        int read = bis.read();
        System.out.println((char)read);
        bis.close();

    }
}
